from django.db import models

from meiduo_mall.utils.my_model import BaseModel


class Payment(BaseModel):
    out_trade_no = models.CharField(verbose_name="美多商城订单号", max_length=64, unique=True, null=False)
    trade_no = models.CharField(verbose_name="支付宝流水号", max_length=64, unique=True, null=False)

    class Meta:
        db_table = "tb_payment"
# Create your models here.
